restoreDefaultFocus

Gives focus to the default-focus view in the view hierarchy rooted at view. If the default-focus view cannot be found or if API <26, this falls back to calling requestFocus.

Return

true if view or one of its descendants took focus, false otherwise.

Parameters

view

view on which to make the change.